package com.yn.club.auth.domain.convert;

import java.time.LocalDateTime;
import java.util.List;
import com.yn.club.auth.domain.entity.AuthRolePermissionDO;
import com.yn.club.auth.infra.basic.entity.AuthRolePermission;

import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * 角色权限关联表(AuthRolePermission)DO和Entity转换
 *
 * @author YN
 * @since 2025-01-22 10:07:43
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface AuthRolePermissionDomainConverter {

  AuthRolePermission convertDoToEntity(AuthRolePermissionDO ojb);
  
  List<AuthRolePermission> convertDoToEntity(List<AuthRolePermissionDO> ojbs);
  
  AuthRolePermissionDO convertEntityToDo(AuthRolePermission ojb);
  
  List<AuthRolePermissionDO> convertEntityToDo(List<AuthRolePermission> ojbs);
  
  
}

